package com.example.user.service.repository;

import com.example.baselibrary.http.RetrofitFactory;
import com.example.user.service.api.UserApi;

import io.reactivex.Observable;
import retrofit2.Response;

/**
 * 业务模块网络访问数据层 by zqq on 2018/6/11.
 */

public class UserRepository {


    //用户登录
    public Observable<Response<String>> login() {
        return RetrofitFactory.getInstance()
                .create(UserApi.class)
                .login();
    }
    
    
    
}
